<?php
namespace app\services\ai\traits\qq;

trait BaseText
{
    public function wordseg($options)
    {
        return $this->request(self::POST, self::API_NLP_WORDSEG, $this->parseOptions([
            'text' => $options['text'] ?? '',
        ]));
    }
}